class a{
    @EventRoute
    toggle_mark( isShow: boolean = true, p: any = null ): Number{
        return 1
    }
}
const result:{
    [key: string]: Function; 
} = { 
    //toggle_mark
}


const EventRoute:any = ( target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any> )  => {
    console.log( 'methodDecorator', target, propertyKey, descriptor )
    const fn = ()=>{
        return 1
    }
    return fn
}
 
export default result